package cn.ht.jywrwater.module.ht.convert.customermeter;

import java.util.*;

import cn.ht.jywrwater.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ht.jywrwater.module.ht.controller.admin.customermeter.vo.*;
import cn.ht.jywrwater.module.ht.dal.dataobject.customermeter.CustomerMeterDO;

/**
 * 水表用户绑定关系 Convert
 *
 * @author hzx
 */
@Mapper
public interface CustomerMeterConvert {

    CustomerMeterConvert INSTANCE = Mappers.getMapper(CustomerMeterConvert.class);

    CustomerMeterDO convert(CustomerMeterCreateReqVO bean);

    CustomerMeterDO convert(CustomerMeterUpdateReqVO bean);

    CustomerMeterRespVO convert(CustomerMeterDO bean);

    List<CustomerMeterRespVO> convertList(List<CustomerMeterDO> list);

    PageResult<CustomerMeterRespVO> convertPage(PageResult<CustomerMeterDO> page);

    List<CustomerMeterExcelVO> convertList02(List<CustomerMeterDO> list);

}
